#ifndef __WS_VERSION_H__
#define __WS_VERSION_H__

struct WsVersion {
    int major_version;
    int minor_version;

    WsVersion(int major, int minor) : major_version(major), minor_version(minor) {}

    bool isGreaterThan(int major, int minor) const {
        if (major_version > major) return true;
        if (major_version == major && minor_version > minor) return true;
        return false;
    }
};

#endif 